package com.xxwy.ddu.common.autowired.email;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author xxwy
 * on 2018/8/8 0008
 * 需要配置: formEmail
 */
@Data
@AllArgsConstructor
public class EmailInfo implements Serializable {

    private static final long serialVersionUID = -9209031485025459219L;
    private String formEmail;
    private String toEmail;
    private String subject; //标题
    private String text;//文本

    public EmailInfo(String toEmail, String subject, String text) {
        this.toEmail = toEmail;
        this.subject = subject;
        this.text = text;
    }

}
